<?php
/**
 * The template for displaying 404 pages (Not Found).
 *
 * @package toekneestuck
 * @subpackage toekneestuck
 * @since toekneestuck 2.0
 */

get_header(); ?>

<div id="main" class="container">
	<div class="row clearfix">
		<section class="eightcol">
			<div id="post-0" class="post error404 not-found">
				<h1 class="entry-title"><?php _e( 'Not Found', 'toeknee' ); ?></h1>
				<p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'toe knee' ); ?></p>
				<?php get_search_form(); ?>
			</div><!-- #post-0 -->
		</section>
		<aside class="fourcol last">
			<?php get_sidebar(); ?>
		</aside>
	</div>
	<script type="text/javascript">
		// focus on search field after it has loaded
		document.getElementById('s') && document.getElementById('s').focus();
	</script>
<?php get_footer(); ?>